package com.itheima.reggie.service;

import com.itheima.reggie.entity.Employee;
import com.itheima.reggie.entity.Page;
import com.itheima.reggie.entity.R;

public interface EmployeeService {
    R<Employee> login(Employee employee);

    void save(Employee employee);

    R<Page<Employee>> findByPage(Integer page, Integer pageSize, String name);

    void update(Employee employee);

    R<Employee> findById(Long id);
}
